package com.ljx.itbbs.server.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.itbbs.server.article.domain.entity.ResourceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ResourceMapper extends BaseMapper<ResourceEntity> {


    void batchUpdateResource(@Param("list") List<Long> resourcesList,
                             @Param("isFree") Integer isFree,
                             @Param("integral") Integer integral,
                             @Param("articleId") Long articleId);
}